package com.bot.edu.informationmanage.stu.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bot.edu.informationmanage.majortype.entity.MajorType;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 学生信息表
 * @Author: jeecg-boot
 * @Date:   2022-03-31
 * @Version: V1.0
 */
@Data
@TableName("stu")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="stu对象", description="学生信息表")
public class Stu implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**学生编号*/
	@Excel(name = "学生编号", width = 15)
    @ApiModelProperty(value = "学生编号")
    private String stuId;
	/**账号*/
	@Excel(name = "账号", width = 15)
    @ApiModelProperty(value = "账号")
    private String stuAccount;
	/**密码*/
	@Excel(name = "密码", width = 15)
    @ApiModelProperty(value = "密码")
    private String stuPassword;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private String stuUsername;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String stuPhoto;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
    @ApiModelProperty(value = "真实姓名")
    private String stuName;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private String stuAge;
	/**现居地址*/
	@Excel(name = "现居地址", width = 15)
    @ApiModelProperty(value = "现居地址")
    private String addressId;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String stuPhone;
	/**学历*/
	@Excel(name = "学历", width = 15, dictTable = "EDUCATION", dicText = "EDU_NAME", dicCode = "EDU_ID")
	@Dict(dictTable = "EDUCATION", dicText = "EDU_NAME", dicCode = "EDU_ID")
    @ApiModelProperty(value = "学历")
    private String educationId;
	/**专业*/
	@Excel(name = "专业", width = 15, dictTable = "MAJOR", dicText = "MAJOR_NAME", dicCode = "MAJOR_ID")
	@Dict(dictTable = "MAJOR", dicText = "MAJOR_NAME", dicCode = "MAJOR_ID")
    @ApiModelProperty(value = "专业")
    private String majorId;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private String stuIdcard;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
	@Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private Integer stuSex;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "stu_status")
	@Dict(dicCode = "stu_status")
    @ApiModelProperty(value = "状态")
    private String stuStatusId;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;


}
